/**********************************************************
 * BlockedBuyer.java.java 
 * Created by Ashutosh
 * Last modified Date: Sep 18, 2008 10:58:47 AM by Ashutosh
 * Revision: <svn revision #> 
 * Version : 0.1
 * Copyright (c) 2008 - 2009 cyberThink Infotech Pvt. Ltd., All rights reserved.
 **********************************************************/

package com.printeverywhere.dto;

/**
 * BlockedBuyer entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class BlockedBuyer implements java.io.Serializable {

	// Fields

	/** The id. */
	private Integer id;
	
	/** The user by user id. */
	private User userByUserId;
	
	/** The user by blocked user id. */
	private User userByBlockedUserId;

	// Constructors

	/**
	 * default constructor.
	 */
	public BlockedBuyer() {
	}

	/**
	 * full constructor.
	 * 
	 * @param userByUserId the user by user id
	 * @param userByBlockedUserId the user by blocked user id
	 */
	public BlockedBuyer(User userByUserId, User userByBlockedUserId) {
		this.userByUserId = userByUserId;
		this.userByBlockedUserId = userByBlockedUserId;
	}

	// Property accessors

	/**
	 * Gets the id.
	 * 
	 * @return the id
	 */
	public Integer getId() {
		return this.id;
	}

	/**
	 * Sets the id.
	 * 
	 * @param id the new id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * Gets the user by user id.
	 * 
	 * @return the user by user id
	 */
	public User getUserByUserId() {
		return this.userByUserId;
	}

	/**
	 * Sets the user by user id.
	 * 
	 * @param userByUserId the new user by user id
	 */
	public void setUserByUserId(User userByUserId) {
		this.userByUserId = userByUserId;
	}

	/**
	 * Gets the user by blocked user id.
	 * 
	 * @return the user by blocked user id
	 */
	public User getUserByBlockedUserId() {
		return this.userByBlockedUserId;
	}

	/**
	 * Sets the user by blocked user id.
	 * 
	 * @param userByBlockedUserId the new user by blocked user id
	 */
	public void setUserByBlockedUserId(User userByBlockedUserId) {
		this.userByBlockedUserId = userByBlockedUserId;
	}
}